<script>
    var texto_ = CKEDITOR.replace( 'texto_',      {
    enterMode: CKEDITOR.ENTER_P,
    shiftEnterMode  : CKEDITOR.ENTER_BR
});

</script>
<div class="posts form">
	<?php echo $this->Form->create('Post', array('controller'=>'posts','action'=> 'edit/'.$community_id.'/'.$topic_id)); ?>
	<fieldset>
		<?php
			echo $this->Form->input('id', array('type' => 'hidden'));
			echo $this->Form->input('description',array('label'=>false, 'id'=>'texto_', 'class'=>'ckeditor'));
			//echo $this->Form->input('status', array('type' => 'text'));
            echo $this->Form->input('user_id', array('type' => 'hidden'));
			//echo $this->Form->input('creation_date');
			echo $this->Form->input('topic_id', array('type' => 'hidden'));	

			echo $this->Form->end(array('label'=>'Salvar', 'class'=>'btn btn-primary open-box-coment'));
		?>
	</fieldset>
	
</div>